const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  sidebarStatus: state => state.app.sidebar.opened,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  title: state => state.settings.title,
  fixedHeader: state => state.settings.fixedHeader,
  hiddenSideBar: state => state.settings.hiddenSideBar,
  layout: state => state.settings.layout,
  locale: state => state.settings.locale,
  theme: state => state.settings.theme,
  wholeMenus: state => state.permission.wholeMenus,
}
export default getters
